import Vue from 'vue'
import Router from 'vue-router'
import Index from '../components/Index'
import Login from '../components/Login'
import Selectone from '../components/Selectone'
import Register from '../components/Register'
import School from '../components/School'
import Major from '../components/Major'
import Layout from '../Managercom/Layout'
import Question from '../components/Question'
import Limitmajor from '../components/Limitmajor'
import Policy from '../components/Policy'
import Stubro from '../components/Stubro'
import Forum from '../components/Forum'
import fatie from '../components/fatie'
import test1 from '../components/test1'
import Calculate from '../components/Calculate'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },
    {
      path: '/selectone',
      name: 'Selectone',
      component: Selectone
    },
    {
      path: '/register',
      name: 'Register',
      component: Register
    },
    {
      path: '/school',
      name: 'School',
      component: School
    },
    {
      path: '/major',
      name: 'Major',
      component: Major
    },
    {
      path: '/layout',
      name: 'Layout',
      component: Layout
    },
    {
      path: '/Question',
      name: 'Question',
      component: Question
    },
    {
      path: '/limitmajor',
      name: 'Limitmajor',
      component: Limitmajor
    },
    {
      path: '/policy',
      name: 'Policy',
      component: Policy
    },
    {
      path: '/stubro',
      name: 'Stubro',
      component: Stubro
    },
    {
      path: '/forum',
      name: 'Forum',
      component: Forum
    },
    {
      path: '/fatie',
      name: 'fatie',
      component: fatie
    },
    {
      path: '/Calculate',
      name: 'Calculate',
      component: Calculate
    },
    {
      path: '/test1',
      name: 'test1',
      component: test1
    }
  ]
})
